import { http } from '@/utils/http/axios';

export function listInterface(data = {}) {
  return http.request({
    url: '/admin/gather/interface/list',
    method: 'get',
    data,
  });
}

export function pageInterface(data = {}) {
  return http.request({
    url: '/admin/gather/interface/page',
    method: 'post',
    data,
  });
}

export function addInterface(data = {}) {
  return http.request({
    url: '/admin/gather/interface/add',
    method: 'post',
    data,
  });
}

export function updateInterface(data = {}) {
  return http.request({
    url: '/admin/gather/interface/update',
    method: 'post',
    data,
  });
}

export function delInterface(data = {}) {
  return http.request({
    url: '/admin/gather/interface/delete',
    method: 'post',
    data,
  });
}

